<template>
  <div class="app" :class="{'app-active':loginStore.isLoggedIn == true}">
    <TitleBar></TitleBar>
    <div class="under">
      <div class="menu">
        <Menu></Menu>
      </div>
      <div class="content">
        <RouterView></RouterView>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import TitleBar from '@/components/Title/index.vue'
import Menu from '@/components/Menu/index.vue'
import { useLoginStore } from '@/stores/login';
const loginStore = useLoginStore()
</script>

<style scoped lang="less">
@import url('@/views/LoginDefault.less');
</style>